package cc.jorange.dao;

import java.util.List;

import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.PagingAndSortingRepository;

import cc.jorange.bean.Poster;

/**
 * 
 * @author Aaron
 *
 */
public interface PosterDao extends PagingAndSortingRepository<Poster, Long> {
	@Query("from Poster p order by score asc")
	List<Poster> findAllOrderBy();
}
